(function(window) {

	function tshirtcontroller(data) {

		var canvas = document.getElementById(data.root);
		var ctx = canvas.getContext('2d');
		var HEIGHT = canvas.height;
		var WIDTH = canvas.width;
		ctx.clearRect(0, 0, WIDTH, HEIGHT);

		var img = new Image();
		img.onload = function() {
			ctx.drawImage(img, 0, 0, 400, 450);
		};

		img.src = constants_img_tshirt;
	}

	window.tshirtcontroller = tshirtcontroller;
})(window);

tshirtcontroller({
	root : constants_id_tshirt
});
